package cn.iocoder.yudao.module.scrm.controller.admin.phoneencryptor.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 客户手机加密配置新增/修改 Request VO")
@Data
public class PhoneEncryptorSaveReqDetail {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22362")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "用户姓名", example = "赵六")
    @NotEmpty(message = "用户姓名不能为空")
    private String userName;

}